package com.aegis.common.web.config;

import com.aegis.common.constants.PropertiesPre;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author wx
 * 
 * @Version 1.0
 */
@Component
@ConfigurationProperties(PropertiesPre.COMMON_WEB)
public class CommonWebProperties {

    private List<String> basePackPaths;

    private boolean showSysError;


    public List<String> getBasePackPaths() {
        return basePackPaths;
    }

    public void setBasePackPaths(List<String> basePackPaths) {
        this.basePackPaths = basePackPaths;
    }

    public boolean isShowSysError() {
        return showSysError;
    }

    public void setShowSysError(boolean showSysError) {
        this.showSysError = showSysError;
    }
}
